#define  _CRT_SECURE_NO_WARNINGS 1
//#include"head.h"


//int memcmp(const void* ptr1, const void* ptr2, size_t num);
//函数功能：比较两个内存块
//比较从ptr1和ptr2指针指向的位置开始，向后的num个字节
//返回值：小于0，ptr1<ptr2; 等于0，ptr1=ptr2; 大于0，ptr1>ptr2

//int main()
//{
//	int arr1[] = { 1,2,3,4,5 };
//	//01 00 00 00 02 00 00 00 03 00 00 00 04 00 00 00 05 00 00 00
//	int arr2[] = { 1,2,3,4,0x12233301 };
//	//01 00 00 00 02 00 00 00 03 00 00 00 04 00 00 00 01 33 23 12
//	int r = memcmp(arr1, arr2, 16);
//    printf("%d\n", r);
//	r = memcmp(arr1, arr2, 17);
//	printf("%d\n", r);
//
//	return 0;
//}
